/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package ex;

/**
 * <p>Project: jse2204 - SellTicket
 * <p>Powered by webrx On 2022-09-30 11:16:56
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class SellTicket {
    public static void main(String[] args) {
        Ticket tk = new Ticket(8);
        Thread t1 = new Thread(tk,"东风路");
        Thread t2 = new Thread(tk,"科学大道");
        Thread t3 = new Thread(tk,"火车站");
        Thread t4 = new Thread(tk,"中原路");
        t1.start();
        t2.start();
        t3.start();
        t4.start();
    }
}
